package com.nlelpct.manage.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.nlelpct.manage.model.entity.SysEmployeePost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 员工与岗位关联表 Mapper 接口
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
public interface SysEmployeePostMapper extends BaseMapper<SysEmployeePost> {

    /**
     * 根据员工id查找岗位id
     * @param employeeId 员工id
     * @return 岗位id
     */
    String selectPostIdByEmployeeId(@Param("employeeId") String employeeId);

}
